package com.lxl.bt.bean;

import com.contrarywind.interfaces.IPickerViewData;

import java.io.Serializable;
import java.util.List;

/**
 * Create by lvxinlong  229608356@qq.com
 * desc
 * on
 **/
public class CarTrackBody implements Serializable {
    public int totalCount;
    public int totalPage;

    private List<VehiclesListBean> vehiclesList;

    public List<VehiclesListBean> getVehiclesList() {
        return vehiclesList;
    }

    public void setVehiclesList(List<VehiclesListBean> vehiclesList) {
        this.vehiclesList = vehiclesList;
    }

    public static class VehiclesListBean implements Serializable, IPickerViewData {
        /**
         * id : f5d794264dd14f75a70c5f695ac7983c
         * plateNo : 苏a563
         * longitude : 120.263301
         * latitude : 30.771376
         * online : 1
         * onlineStr : 在线
         * sendTime : 1600505955000
         */

        private String id;
        private String plateNo;
        private double longitude;
        private double latitude;
        private int online;
        private String onlineStr;
        private long sendTime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPlateNo() {
            return plateNo;
        }

        public void setPlateNo(String plateNo) {
            this.plateNo = plateNo;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public int getOnline() {
            return online;
        }

        public void setOnline(int online) {
            this.online = online;
        }

        public String getOnlineStr() {
            return onlineStr;
        }

        public void setOnlineStr(String onlineStr) {
            this.onlineStr = onlineStr;
        }

        public long getSendTime() {
            return sendTime;
        }

        public void setSendTime(long sendTime) {
            this.sendTime = sendTime;
        }

        @Override
        public String getPickerViewText() {
            return plateNo;
        }
    }
}
